﻿/*
==================================================================
    注意：此文件为Auto代码，不可手动修改【单据明细】
==================================================================
*/

namespace Entities
{
    /// <summary>
    /// 单据明细
    /// </summary>
    [SugarTable("wb.BillDetail")]
    public partial class BillDetail
    {
        /// <summary>
        /// 编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "BillDetailID")]
        public int BillDetailID { get; set; }
        
        /// <summary>
        /// 单据
        /// </summary>
        [SugarColumn(ColumnName = "BillID")]
        public int BillID { get; set; }
        
        /// <summary>
        /// 编码
        /// </summary>
        [SugarColumn(ColumnName = "Code")]
        public string Code { get; set; }
        
        /// <summary>
        /// 仓库
        /// </summary>
        [SugarColumn(ColumnName = "WarehouseID")]
        public int WarehouseID { get; set; }
        
        /// <summary>
        /// 仓库名称
        /// </summary>
        [SugarColumn(ColumnName = "WarehouseName")]
        public string WarehouseName { get; set; }
        
        /// <summary>
        /// 仓库库位
        /// </summary>
        [SugarColumn(ColumnName = "WarehousePositionID")]
        public int? WarehousePositionID { get; set; }
        
        /// <summary>
        /// 库位名称
        /// </summary>
        [SugarColumn(ColumnName = "WarehousePositionName")]
        public string WarehousePositionName { get; set; }
        
        /// <summary>
        /// 规格型号
        /// </summary>
        [SugarColumn(ColumnName = "GuiGe")]
        public string GuiGe { get; set; }
        
        /// <summary>
        /// 直径
        /// </summary>
        [SugarColumn(ColumnName = "Diameter")]
        public decimal Diameter { get; set; }
        
        /// <summary>
        /// 绳子条数
        /// </summary>
        [SugarColumn(ColumnName = "Cnt")]
        public int Cnt { get; set; }
        
        /// <summary>
        /// 钢丝绳名称
        /// </summary>
        [SugarColumn(ColumnName = "Name")]
        public string Name { get; set; }
        
        /// <summary>
        /// 公称捻距
        /// </summary>
        [SugarColumn(ColumnName = "NianJu")]
        public decimal? NianJu { get; set; }
        
        /// <summary>
        /// 抗拉强度
        /// </summary>
        [SugarColumn(ColumnName = "MpaID")]
        public int? MpaID { get; set; }
        
        /// <summary>
        /// 抗拉强度名称
        /// </summary>
        [SugarColumn(ColumnName = "MpaName")]
        public string MpaName { get; set; }
        
        /// <summary>
        /// 表面状态
        /// </summary>
        [SugarColumn(ColumnName = "SurfaceStatusID")]
        public int? SurfaceStatusID { get; set; }
        
        /// <summary>
        /// 表面状态名称
        /// </summary>
        [SugarColumn(ColumnName = "SurfaceStatusName")]
        public string SurfaceStatusName { get; set; }
        
        /// <summary>
        /// 捻制类型
        /// </summary>
        [SugarColumn(ColumnName = "TwistingTypeID")]
        public int? TwistingTypeID { get; set; }
        
        /// <summary>
        /// 捻制类型名称
        /// </summary>
        [SugarColumn(ColumnName = "TwistingTypeName")]
        public string TwistingTypeName { get; set; }
        
        /// <summary>
        /// 长度
        /// </summary>
        [SugarColumn(ColumnName = "LengthNum")]
        public decimal LengthNum { get; set; }
        
        /// <summary>
        /// 备绳维保周期
        /// </summary>
        [SugarColumn(ColumnName = "KeepDay")]
        public int? KeepDay { get; set; }
        
        /// <summary>
        /// 供应商
        /// </summary>
        [SugarColumn(ColumnName = "SupplierID")]
        public int? SupplierID { get; set; }
        
        /// <summary>
        /// 供应商名称
        /// </summary>
        [SugarColumn(ColumnName = "SupplierName")]
        public string SupplierName { get; set; }
        
        /// <summary>
        /// 制造商
        /// </summary>
        [SugarColumn(ColumnName = "ProducerID")]
        public int? ProducerID { get; set; }
        
        /// <summary>
        /// 制造商名称
        /// </summary>
        [SugarColumn(ColumnName = "ProducerName")]
        public string ProducerName { get; set; }
        
        /// <summary>
        /// 出厂报告
        /// </summary>
        [SugarColumn(ColumnName = "ChuChang_Files")]
        public string ChuChang_Files { get; set; }
        
        /// <summary>
        /// 验收报告
        /// </summary>
        [SugarColumn(ColumnName = "YanShou_Files")]
        public string YanShou_Files { get; set; }
        
        /// <summary>
        /// 倒卷检测报告
        /// </summary>
        [SugarColumn(ColumnName = "JianCe_Files")]
        public string JianCe_Files { get; set; }
        
        /// <summary>
        /// 附件
        /// </summary>
        [SugarColumn(ColumnName = "Attr_Files")]
        public string Attr_Files { get; set; }
        
        /// <summary>
        /// 矿山
        /// </summary>
        [SugarColumn(ColumnName = "DepartmentID")]
        public int? DepartmentID { get; set; }
        
        /// <summary>
        /// 提升机类型
        /// </summary>
        [SugarColumn(ColumnName = "HoisterID")]
        public int? HoisterID { get; set; }
        
        /// <summary>
        /// 提升机类型名称
        /// </summary>
        [SugarColumn(ColumnName = "HoisterName")]
        public string HoisterName { get; set; }
        
        /// <summary>
        /// 提升机用途
        /// </summary>
        [SugarColumn(ColumnName = "HoisterUsageID")]
        public int? HoisterUsageID { get; set; }
        
        /// <summary>
        /// 提升机用途名称
        /// </summary>
        [SugarColumn(ColumnName = "HoisterUsageName")]
        public string HoisterUsageName { get; set; }
        
        /// <summary>
        /// 钢丝绳类型
        /// </summary>
        [SugarColumn(ColumnName = "WireropeTypeID")]
        public int? WireropeTypeID { get; set; }
        
        /// <summary>
        /// 钢丝绳类型名称
        /// </summary>
        [SugarColumn(ColumnName = "WireropeTypeName")]
        public string WireropeTypeName { get; set; }
        
        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnName = "Remark")]
        public string Remark { get; set; }
    }
}
